package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class OverrideClause {

    private int beginIndex;
    private int endIndex;
    private boolean overridingUserValue;
    private boolean overridingSystemValue;

    public OverrideClause(int beginIndex,
                          int endIndex,
                          boolean overridingUserValue,
                          boolean overridingSystemValue) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.overridingUserValue = overridingUserValue;
        this.overridingSystemValue = overridingSystemValue;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isOverridingUserValue() {
        return overridingUserValue;
    }

    public boolean isOverridingSystemValue() {
        return overridingSystemValue;
    }

}
